#! /bin/zsh

pgrep -x sxhkd > /dev/null || sxhkd &

#bspc monitor HDMI-0 -d I II III IV V VI VII VIII IX X
bspc monitor HDMI-0 -d 1 2 3 4 5 6 7 8 9

bspc config border_width         3
bspc config window_gap         10

bspc config split_ratio          0.52
bspc config borderless_monocle   true
bspc config gapless_monocle      true
bspc config top_padding 8

#bspc rule -a Gimp desktop='^8' state=floating follow=on manager=off
bspc rule -a firefox desktop='^1'
bspc rule -a TelegramDesktop state=floating
bspc rule -a kitty state=floating focus=on
bspc rule -a Alacritty state=floating focus=on
bspc rule -a mpv state=floating focus=on
bspc rule -a Lxappearance state=floating focus=on
bspc rule -a Pavucontrol state=floating focus=on
bspc rule -a Nitrogen state=floating focus=on
bspc rule -a Kupfer.py focus=on
bspc rule -a Thunar state=floating focus=on 

. "${HOME}/.cache/wal/color.sh"
bspc config normal_border_color "$color1"
bspc config active_border_color "$color2"
bspc config focused_border_color "$color15"
bspc config presel_feedback_color "$color1"

picom --experimental-backends -b &
hsetroot -fill .wall/Fantasy-City-Wallpapers.jpg &
$HOME/.config/polybar/launch.zsh &
nm-applet &
dunst &
kill-all "cornora"
$HOME/.bin/cornora.zsh &
#kill-all "nm-applet"
#nm-applet &
#nitrogen --restore &
#kill-all "clipit"
#clipit &
#kill-all "dunst"
#dunst &
#kill-all "picom"
#picom -b &
#~/.config/polybar/launch.zsh 
